﻿using Dora.Orm.Core.Domain.Entities.Auditing;
using Dora.Orm.Core.Domain.Repositories;
using Dora.Orm.EntityFrameworkCore.UnitOfWork;

namespace Dora.Orm.EntityFrameworkCore.Reponsitory
{
    public interface IEFCoreRepository<TEntity, in TPrimaryKey> : IRepository<TEntity, TPrimaryKey>
        where TEntity : TimeAuditedEntity<TPrimaryKey>
    {
        IEfUnitOfWork EfUnitOfWork { get; }
    }
}
